Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: add TF_VAR check and conventional commit lint workflows #663

Merged
merged 4 commits into from
May 17, 2024

Conversation

patheard
Copy link
Member

@patheard patheard commented May 17, 2024

Summary

Adds the following two workflows:

  1. conventional-commit-lint: check all commits follow the conventional commit style. This will help ensure that the Release Please changelog contains all PRs.

  2. terraform-variable-check: checks that the GitHub workflow Terraform variables defined as TF_VAR_ prefixed environment variables have a matching variable definition in the codebase. This will help prevent accidental misconfigurations between the workflows and Terraform code.

⚠️ Note

Once this merges, if a PR contains any commits that do not follow the conventional commit style, those commit messages will need to be rewritten with git rebase or git commit --amend.

Add a workflow that checks that the GitHub workflow Terraform variables
definied as TF_VAR prefixed environment variables have a matching
`variable` definition in the codebase.  This will help prevent accidental
misconfigurations between the workflows and Terraform code.

Add a workflow that makes sure all commits follow the conventional
commit style.  This will help ensure that the Release Please changelog
contains all PRs.
@patheard patheard self-assigned this May 17, 2024
@patheard patheard changed the title feat: add TF var and conventional commit workflows feat: add TF_VAR check and conventional commit lint workflows May 17, 2024
craigzour
craigzour previously approved these changes May 17, 2024
Copy link
Contributor

@craigzour craigzour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

craigzour
craigzour previously approved these changes May 17, 2024
@patheard patheard merged commit bf44015 into develop May 17, 2024
9 checks passed
@patheard patheard deleted the feat/workflows branch May 17, 2024 18:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants